﻿<%@ Page Title="Home Page" Language="vb" MasterPageFile="~/Site.Master" AutoEventWireup="false"
    CodeBehind="Default.aspx.vb" Inherits="soshare._Default" %>

<asp:Content ID="HeaderContent" runat="server" ContentPlaceHolderID="HeadContent">
</asp:Content>
<asp:Content ID="BodyContent" runat="server" ContentPlaceHolderID="MainContent">
    <h2>
        Welcome to soshare.org</h2>
    <p>
        <asp:GridView ID="GridView1" runat="server" AutoGenerateColumns="False" 
            DataKeyNames="ApplicationId" DataSourceID="SqlDataSource1">
            <Columns>
                <asp:BoundField DataField="ApplicationName" HeaderText="ApplicationName" 
                    SortExpression="ApplicationName" />
                <asp:BoundField DataField="LoweredApplicationName" 
                    HeaderText="LoweredApplicationName" SortExpression="LoweredApplicationName" />
                <asp:BoundField DataField="ApplicationId" HeaderText="ApplicationId" 
                    ReadOnly="True" SortExpression="ApplicationId" />
                <asp:BoundField DataField="Description" HeaderText="Description" 
                    SortExpression="Description" />
            </Columns>
        </asp:GridView>
    </p>
    <p>
        sql datasource example with a gridview ;)&nbsp; I made register and login 
        buttons at the top.&nbsp; Try them out :)<asp:SqlDataSource ID="SqlDataSource1" runat="server" 
            ConnectionString="<%$ ConnectionStrings:DB_26117_websitenewConnectionString %>" 
            SelectCommand="SELECT * FROM [vw_aspnet_Applications]"></asp:SqlDataSource>
    </p>
    </asp:Content>
